package org.jeecg.modules.qyxx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.jeffreyning.mybatisplus.service.IMppService;
import org.jeecg.modules.fk.entity.DjOrg;
import org.jeecg.modules.fk.entity.DjUserInfo;
import org.jeecg.modules.qyxx.entity.BgSjmkjgOrder;
import org.jeecg.modules.qyxx.entity.qo.SjmkjgOrderQo;
import org.jeecg.modules.qyxx.entity.req.BgNsrjbxxReq;

import java.util.List;

/**
 * @Description: 报告模块数据加工状态
 * @Author: ZJJ
 * @Date:   2021-06-18
 * @Version: V1.0
 */
public interface IBgSjmkjgOrderService extends IMppService<BgSjmkjgOrder> {

    /**
     * 获取报告列表
     * @param qo
     * @param djOrgs
     * @return
     */
    List<BgSjmkjgOrder> selectList(SjmkjgOrderQo qo,List<DjOrg> djOrgs);

    Page<BgSjmkjgOrder> getReportList(SjmkjgOrderQo qo);

    /**
     * 设置报告时间到Redis
     * @param req
     */
    void setBgsjToRedis(BgNsrjbxxReq req);

    String getNewByDjxh(String djxh);

    String getNewMonthByDjxh(String djxh);

    BgSjmkjgOrder getLatestByDjxh(String djxh);
}
